center div with variable height

58

position: relative;
top: 50%;
transform: translateY(-50%);

Comments

Submit
0 Comments